package com.yiyahui.project.erp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yiyahui.framework.aspectj.lang.annotation.Excel;
import com.yiyahui.framework.web.domain.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * 结账流水项目关系对象 yiya_closing_water_relation
 * 
 * @author yiyahui
 * @date 2020-06-10
 */

@ApiModel(value="结账流水项目关系对象")
public class YiyaClosingWaterRelation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 主单结账记录流水id */
    @ApiModelProperty(value="主单结账记录流水id")
    @Excel(name = "主单结账记录流水id")
    private Long mainClosingEntriesId;

    /** 开单项目id */
    @ApiModelProperty(value="开单项目id")
    @Excel(name = "开单项目id")
    private Long itemBillingId;

    /** 本次缴费 */
    @ApiModelProperty(value="本次缴费")
    @Excel(name = "本次缴费")
    private BigDecimal thisPay;

    /** 储值划扣金额 */
    @ApiModelProperty(value="储值划扣金额")
    @Excel(name = "储值划扣金额")
    private BigDecimal storedDeductPrice;

    /** 备注 */
    @ApiModelProperty(value="备注")
    @Excel(name = "备注")
    private String remarks;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMainClosingEntriesId(Long mainClosingEntriesId) 
    {
        this.mainClosingEntriesId = mainClosingEntriesId;
    }

    public Long getMainClosingEntriesId() 
    {
        return mainClosingEntriesId;
    }
    public void setItemBillingId(Long itemBillingId) 
    {
        this.itemBillingId = itemBillingId;
    }

    public Long getItemBillingId() 
    {
        return itemBillingId;
    }

    public BigDecimal getThisPay() {
        return thisPay;
    }

    public void setThisPay(BigDecimal thisPay) {
        this.thisPay = thisPay;
    }

    public BigDecimal getStoredDeductPrice() {
        return storedDeductPrice;
    }

    public void setStoredDeductPrice(BigDecimal storedDeductPrice) {
        this.storedDeductPrice = storedDeductPrice;
    }

    public void setRemarks(String remarks)
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mainClosingEntriesId", getMainClosingEntriesId())
            .append("itemBillingId", getItemBillingId())
            .append("thisPay", getThisPay())
            .append("storedDeductPrice", getStoredDeductPrice())
            .append("remarks", getRemarks())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
